#include "tcpclient.hpp"
#include <iostream>
using namespace std;

int main(int argc, char **argv)
{
    if (argc < 3)
    {
        cerr << "Usage: ./ChatClient 127.0.0.1 8888" << endl;
        exit(-1);
    }
    TcpClient tcp(argv[1], atoi(argv[2]));
    tcp.start();
    return 0;
}